// 基于template/src/views/{{appModules}}/{{pages@DECUSTOMVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { ICustomViewModel } from "@/core/interface/view/model";
function getModel(): ICustomViewModel {
    return {
        caption: "Third",
        title: "测试",
        capPSLanguageRes: "DE.LNAME.THIRD",
        titlePSLanguageRes: "",
        showDataInfoBar: false,
        codeName: 'ThirdUsr0409504128CustomView',
        uiEngineModel: [
            ],
        ctrls: [
            {
                name: 'form',
                codeName: 'Test409',
                controlType: 'FORM',
            }
        ],
        ctrlParams: {
            Thirdform: {},
        },
        cssName: "",
        name: "ThirdUsr0409504128CustomView",
        viewType: "DECUSTOMVIEW",
        viewStyle: "DEFAULT",
        showCaption: true,
        isLoadDefault: true,
        entityCodeName: "Third",
        keyPSAppDEField: "ThirdId",
        majorPSAppDEField: "ThirdName",
        expandSearchForm:false,
        quickSearchPlaceholder: ['Third名称',].join(","),
        useDefaultLayout: false,
        layoutMode: "FLEX",
        rootLayoutDetailNames: ["container1"],
        layoutItems: {
          container1: {
              name: "container1",
              type: "VIEWLAYOUT",
              caption: "容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "FLEX",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: -1,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              details: ["form"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          form: {
              name: "form",
              type: "VIEWLAYOUT",
              caption: "表单",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CTRLPOS",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: -1,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container1",
          },
          
          
        },
        ctrlArray: [
            { name: "form", controlType: "FORM" }
        ],
        engineArray: [
        ]
    }
}
export const model = getModel();